package movEat.GUI.Ordering;

import movEat.IGui.OrderDetails.IAppetizerOrderDetails;
import movEat.IGui.OrderDetails.IDrinksOrderDetails;
import movEat.IGui.OrderDetails.IMainCourseOrderDetails;
import movEat.IGui.OrderDetails.IOrderDetails;
import movEat.IKernel.IDessertOrderDetails;

public class OrderDetails implements IOrderDetails {

	private IAppetizerOrderDetails appetizerOrderDetails = null;
	private IMainCourseOrderDetails mainCourseOrderDetails = null;
	private IDrinksOrderDetails drinksOrderDetails = null;
	private boolean dessert = false;


	@Override
	public IAppetizerOrderDetails GetAppetizerDetails() {
		return appetizerOrderDetails;
	}

	@Override
	public IMainCourseOrderDetails GetMainCourseDetails() {
		return mainCourseOrderDetails;
	}

	@Override
	public IDrinksOrderDetails GetDrinksDetails() {
		return drinksOrderDetails;
	}

	public void setMainCourseOrderDetails(
			IMainCourseOrderDetails mainCourseOrderDetails) {
		this.mainCourseOrderDetails = mainCourseOrderDetails;
	}

	public void setDrinksOrderDetails(IDrinksOrderDetails drinksOrderDetails) {
		this.drinksOrderDetails = drinksOrderDetails;
	}

	public void setAppetizerOrderDetails(
			IAppetizerOrderDetails appetizerOrderDetails) {
		this.appetizerOrderDetails = appetizerOrderDetails;
	}

	@Override
	public boolean dessert() {
		return dessert;
	}

	public void setDessert(boolean b) {
		dessert = b;
		
	}


}
